package com.svms.service.bo;

import java.util.List;
import java.util.Map;

import com.svms.service.dml.iface.MovementDMLIF;
import com.svms.service.iface.MovementIF;
import com.svms.service.search.SearchOperators;
import com.svms.service.vo.MovementVO;
import com.svms.service.vo.VehicleSpareVO;

/**
 * @author om39a
 * 
 */
public class MovementBO implements MovementIF {

	MovementDMLIF movementDML;

	public MovementDMLIF getMovementDML() {
		return movementDML;
	}

	public void setMovementDML(MovementDMLIF movementDML) {
		this.movementDML = movementDML;
	}

	@Override
	public MovementVO insertNewMovement(MovementVO movement) {
		// TODO Auto-generated method stub
		MovementVO movementVO = movementDML.insertNewMovement(movement);
		
		
		return movementVO;
	}

	@Override
	public MovementVO deleteMovement(MovementVO movement) {
		// TODO Auto-generated method stub
		return movementDML.deleteMovement(movement);
	}

	@Override
	public MovementVO getMovement(MovementVO movement) {
		// TODO Auto-generated method stub
		return movementDML.getMovement(movement);
	}

	@Override
	public List<MovementVO> getMovementList() {
		// TODO Auto-generated method stub
		return movementDML.getMovementList();
	}

	@Override
	public MovementVO editMovement(MovementVO movement) {
		return movementDML.editMovement(movement);
	}

	@Override
	public List<MovementVO> searchVehicle(MovementVO movement,
			Map<String, SearchOperators> operatorsList) {
		// TODO Auto-generated method stub
		return null;
	}

}
